package com.sc.springboot.dao;

import com.sc.springboot.bean.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TeacherDao {

    @Select("select * from teacher")
    List<Teacher> findAll();
}
